<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="/include/taglib.jsp"%>
<html>
	<head>
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">
		<meta name="format-detection" content="telephone=no">
		<meta charset="UTF-8">
		<title>微站_共富网_Gofull.com.cn</title>
		<script src="/v3/js/jquery-1.10.2.min.js" type="text/javascript"></script>
		<link type="text/css" rel="stylesheet" href="/v3/css/wstyle.css">
		<link type="text/css" rel="stylesheet" href="/v3/css/account.css">
	</head>
	<body>
		<div id="wrap">
			<div class="login_input">
				<div class="r_line">
				<i class="icon-Code"></i>
				</div>
				<div class="in_put"><input placeholder="请输入短信验证码" id="captcha" name="captcha" maxlength="8" type=tel></div>
			</div>
			<div class="getPW" id="getPw"><a class="disable-bt" href="#">获取验证码</a></div>
			<div class="Nxt-btn"><a href="#" onclick="checkCaptcha()">确认</a></div>
			
			<section id="zhezhao" class="zhezhao"></section>
			<div id="showTs" class="showTs">
				<div class="tishi">
				<h1>提示</h1>
				<p id="message-tishi"></p>
				<span id="sure-bt">确定</span>
				</div>
			</div>
		</div>
		<jsp:include page="/include/v3/footer.jsp"></jsp:include>
	</body>
	<script type="text/javascript">
		function checkCaptcha() {
			//phoneNumber=document.getElementById("phoneNumber").value;
			captcha=document.getElementById("captcha").value;
			if(captcha==""||captcha<6){
				document.getElementById("message-tishi").innerHTML="验证码不正确，请重新输入";
				showAlert();
				return false;
			}
		}
		function showAlert(str) {
			$("#zhezhao").show();
			$("#showTs").show();
			$("#message-tishi").text(str);
		}

		$("#sure-bt").click(function() {
			hideAlert();
		});

		function hideAlert() {

			$("#zhezhao").hide();
			$("#showTs").hide();

		}
</script>
</html>
